package com.david.mydemo.ctl_es.service;

import com.david.mydemo.ctl_es.dto.ResponseEsDemoDto;
import com.david.mydemo.ctl_es.dto.ResponseResultDto;
import com.david.mydemo.ctl_es.model.SmartSearchModel;

import java.util.Date;

/**
 * @author hxtt
 * @date 2024/01/24
 */
public interface ISmartSearchService {

    ResponseResultDto searchBySql(SmartSearchModel model);

    String searchCityCode(SmartSearchModel model);

    ResponseResultDto searchByEs(SmartSearchModel model);

    ResponseEsDemoDto searchByEsDemo(SmartSearchModel model);

    int insertLog(String logType, String toModule, String operationContent, String operationPeople, Date date, String recordParameter,String cityCode);

}
